Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Fixed Rails 3.0.9 gsub html_safety bug #2

Merged
merged 1 commit into from Aug 9, 2011
Merged

Conversation

dv
Copy link
Contributor

@dv dv commented Aug 9, 2011

In the latest versions of Rails, gsub no longer keeps the "html_safe" property. This resulted in Post#rendered_body to show HTML tags to the end-user. Fixed this by changing the order of methods.

citrus added a commit that referenced this pull request Aug 9, 2011
Fixed Rails 3.0.9 gsub html_safety bug - thanks @dv
@citrus citrus merged commit 6959411 into citrus:master Aug 9, 2011
@citrus
Copy link
Owner

citrus commented Aug 9, 2011

Awesome, thanks David!

@dv
Copy link
Contributor Author

dv commented Aug 9, 2011

No problem, glad I could help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants